cmake_minimum_required(VERSION 3.5)

#工程名
SET(PROJECT_NAME "BindCppPython")
project(${PROJECT_NAME})

include_directories(C:/Python/Python39/include)
include_directories(D:/work/MyGit/Source/pybind11/include)

#添加静态库
link_directories(C:/Python/Python39/libs)

#添加工程
add_executable(${PROJECT_NAME} main.cpp calc.py)

target_link_libraries(${PROJECT_NAME} python39.lib python3.lib _tkinter.lib)

